package com.ruoyi.project.system.domain;

import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 部门金额明细对象 sys_accounts
 * 
 * @author jjp
 * @date 2020-04-26
 */
public class SysAccounts extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 用户id */
    private Long accountsId;

    /** $column.columnComment */
    private Long deptId;

    /** 当type为1时必填 */
    @ApiModelProperty(name = "当type为1时必填")
    private Long withdrawalId;

    /** $column.columnComment */
    @ApiModelProperty(name = "当type为1时必填")
    private Double money;

    /** 0-收入 1-提取 2-返佣 */
    @ApiModelProperty(name = "0-收入 1-提取 2-返佣")
    private String moneyType;

    /** 当type为0时必填服务订单id */
    @ApiModelProperty(name = "当type为0时必填服务订单id")
    private Long orderId;

    private String userName;

    private String phone;

    private Double singleMoney;

    private Double totalMoney;

    private Long mobileUserId;

    private String orderCode;

    private String deptName;

    public void setAccountsId(Long accountsId) 
    {
        this.accountsId = accountsId;
    }

    public Long getAccountsId() 
    {
        return accountsId;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setWithdrawalId(Long withdrawalId) 
    {
        this.withdrawalId = withdrawalId;
    }

    public Long getWithdrawalId() 
    {
        return withdrawalId;
    }

    public Double getMoney() {
        return money;
    }

    public void setMoney(Double money) {
        this.money = money;
    }

    public void setMoneyType(String moneyType)
    {
        this.moneyType = moneyType;
    }

    public String getMoneyType() 
    {
        return moneyType;
    }
    public void setOrderId(Long orderId) 
    {
        this.orderId = orderId;
    }

    public Long getOrderId() 
    {
        return orderId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Double getSingleMoney() {
        return singleMoney;
    }

    public void setSingleMoney(Double singleMoney) {
        this.singleMoney = singleMoney;
    }

    public Double getTotalMoney() {
        return totalMoney;
    }

    public void setTotalMoney(Double totalMoney) {
        this.totalMoney = totalMoney;
    }

    public Long getMobileUserId() {
        return mobileUserId;
    }

    public void setMobileUserId(Long mobileUserId) {
        this.mobileUserId = mobileUserId;
    }

    public String getOrderCode() {
        return orderCode;
    }

    public void setOrderCode(String orderCode) {
        this.orderCode = orderCode;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }
}
